<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="full-screen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="address=no">
    <title>Title</title>
    <style type="text/css">
        .input {
            width: 200px;
            height: 24px;
            line-height: 24px;
            font-size: 14px;
            padding: 5px 8px;
            border: 1px solid #ddd;
        }

        .input:empty::before {
            content: attr(placeholder);
        }
    </style>
</head>
<link type="text/css" rel="stylesheet" href="assets/plugins/face/css/face.css">
<body>

<div class="input" contenteditable="true"></div>
<button id="button">表情</button>

</body>
<script style="javascript" src="assets/plugins/jquery/js/jquery.min.js"></script>
<script style="javascript" src="assets/plugins/face/js/face.js"></script>
<script>
    $(document).ready(function (e) {
        var f = F($('.input')[0]);
        $('#button').click(function (e) {
            f.show($('.input')[0]);
        })
    })
</script>
</html>